<html lang="zh" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
      layout:decorate="~{fragments/layout}">
<head th:include="/admin/common/header :: commonHead"></head>
<body>

<input type="hidden" id="delUrl" value="/api/deleteCategory">
<input type="hidden" id="aoeUrl" value="/api/addOrEditCategory">
<input type="hidden" id="model" value="category">

<div class="formBox">
    <form id="addForm" class="layui-form">
        <input type="hidden" name="id">
        <div class="layui-form-item">
            <label class="layui-form-label">分类名称：</label>
            <div class="layui-input-block">
                <input type="text" name="name" lay-verify="required" placeholder="请输入分类名称" autocomplete="off" class="layui-input">
            </div>
        </div>
    </form>
</div>
</body>
<html th:include="/admin/common/footer :: commonFoot"></html>
<script type="text/javascript">
    layui.config({
        base:path+'/static/admin/js/' //你的模块目录
    }).use('category'); //加载入口
</script>
</html>